package com.example.timer;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

import org.springframework.stereotype.Component;
@Component
public class StartInit {
	@PostConstruct
	public void init(){
		System.out.println("servlet start ...");
	}
	@PreDestroy
	public void destory(){
		System.out.println("servlet end ...");
	}

}
